package com.roin.learn.activiti.service;


import com.roin.learn.activiti.entity.Page;
import com.roin.learn.activiti.entity.Position;

import java.util.List;

public interface PositionService {
    Position getById(Integer id);

    Page<Position> getPage(int pageNum, int pageSize, Position position);

    int update(Position position);

    int add(Position position);

    int deleteByIds(Integer[] ids);

    List<Position> getAll();
}
